/**
 * Created by Freeman on 2016/7/1.
 */
"use strict";
import {CHANGE_OPTIONS} from '../types'
const state = {
    item:{
        pageNo:1,
        pageSize:10,
        sortName:'publish_time',
        tagId: '',
        userId:'',
        isEdit:false
    }
}

const mutations = {
    [CHANGE_OPTIONS](state,action){
        state.item = {...state.item,...action.options}
    }
}

export default {
    state,
    mutations
}